home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2002 November / SGI IRIX Base Documentation 2002 November.iso / usr / share / catman / p_man / cat3 / SCSL / slaqsy.z / slaqsy
Encoding:
Text File  |  2002-10-03  |  4.1 KB  |  133 lines

  1.  
  2.  
  3.  
  4. SSSSLLLLAAAAQQQQSSSSYYYY((((3333SSSS))))                                                          SSSSLLLLAAAAQQQQSSSSYYYY((((3333SSSS))))
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      SLAQSY - equilibrate a symmetric matrix A using the scaling factors in
  10.      the vector S
  11.  
  12. SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  13.      SUBROUTINE SLAQSY( UPLO, N, A, LDA, S, SCOND, AMAX, EQUED )
  14.  
  15.          CHARACTER      EQUED, UPLO
  16.  
  17.          INTEGER        LDA, N
  18.  
  19.          REAL           AMAX, SCOND
  20.  
  21.          REAL           A( LDA, * ), S( * )
  22.  
  23. IIIIMMMMPPPPLLLLEEEEMMMMEEEENNNNTTTTAAAATTTTIIIIOOOONNNN
  24.      These routines are part of the SCSL Scientific Library and can be loaded
  25.      using either the -lscs or the -lscs_mp option.  The -lscs_mp option
  26.      directs the linker to use the multi-processor version of the library.
  27.  
  28.      When linking to SCSL with -lscs or -lscs_mp, the default integer size is
  29.      4 bytes (32 bits). Another version of SCSL is available in which integers
  30.      are 8 bytes (64 bits).  This version allows the user access to larger
  31.      memory sizes and helps when porting legacy Cray codes.  It can be loaded
  32.      by using the -lscs_i8 option or the -lscs_i8_mp option. A program may use
  33.      only one of the two versions; 4-byte integer and 8-byte integer library
  34.      calls cannot be mixed.
  35.  
  36. PPPPUUUURRRRPPPPOOOOSSSSEEEE
  37.      SLAQSY equilibrates a symmetric matrix A using the scaling factors in the
  38.      vector S.
  39.  
  40. AAAARRRRGGGGUUUUMMMMEEEENNNNTTTTSSSS
  41.      UPLO    (input) CHARACTER*1
  42.              Specifies whether the upper or lower triangular part of the
  43.              symmetric matrix A is stored.  = 'U':  Upper triangular
  44.              = 'L':  Lower triangular
  45.  
  46.      N       (input) INTEGER
  47.              The order of the matrix A.  N >= 0.
  48.  
  49.      A       (input/output) REAL array, dimension (LDA,N)
  50.              On entry, the symmetric matrix A.  If UPLO = 'U', the leading n
  51.              by n upper triangular part of A contains the upper triangular
  52.              part of the matrix A, and the strictly lower triangular part of A
  53.              is not referenced.  If UPLO = 'L', the leading n by n lower
  54.              triangular part of A contains the lower triangular part of the
  55.              matrix A, and the strictly upper triangular part of A is not
  56.              referenced.
  57.  
  58.              On exit, if EQUED = 'Y', the equilibrated matrix:  diag(S) * A *
  59.              diag(S).
  60.  
  61.  
  62.  
  63.                                                                         PPPPaaaaggggeeee 1111
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70. SSSSLLLLAAAAQQQQSSSSYYYY((((3333SSSS))))                                                          SSSSLLLLAAAAQQQQSSSSYYYY((((3333SSSS))))
  71.  
  72.  
  73.  
  74.      LDA     (input) INTEGER
  75.              The leading dimension of the array A.  LDA >= max(N,1).
  76.  
  77.      S       (input) REAL array, dimension (N)
  78.              The scale factors for A.
  79.  
  80.      SCOND   (input) REAL
  81.              Ratio of the smallest S(i) to the largest S(i).
  82.  
  83.      AMAX    (input) REAL
  84.              Absolute value of largest matrix entry.
  85.  
  86.      EQUED   (output) CHARACTER*1
  87.              Specifies whether or not equilibration was done.  = 'N':  No
  88.              equilibration.
  89.              = 'Y':  Equilibration was done, i.e., A has been replaced by
  90.              diag(S) * A * diag(S).
  91.  
  92. PPPPAAAARRRRAAAAMMMMEEEETTTTEEEERRRRSSSS
  93.      THRESH is a threshold value used to decide if scaling should be done
  94.      based on the ratio of the scaling factors.  If SCOND < THRESH, scaling is
  95.      done.
  96.  
  97.      LARGE and SMALL are threshold values used to decide if scaling should be
  98.      done based on the absolute size of the largest matrix element.  If AMAX >
  99.      LARGE or AMAX < SMALL, scaling is done.
  100.  
  101. SSSSEEEEEEEE AAAALLLLSSSSOOOO
  102.      INTRO_LAPACK(3S), INTRO_SCSL(3S)
  103.  
  104.      This man page is available only online.
  105.  
  106.  
  107.  
  108.  
  109.  
  110.  
  111.  
  112.  
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119.  
  120.  
  121.  
  122.  
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129.                                                                         PPPPaaaaggggeeee 2222
  130.  
  131.  
  132.  
  133.